package org.dppc.contact.m8;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("PhoneElement")
public class PhoneElement {
	@XStreamAlias("IsPrimary")
	@XStreamAsAttribute
	private int isPrimary;

	@XStreamAlias("Value")
	@XStreamAsAttribute
	private String value;

	@XStreamAlias("Type")
	@XStreamAsAttribute
	private int type;

	public PhoneElement(int isPrimary, String value, int type) {
		super();
		this.isPrimary = isPrimary;
		this.value = value;
		this.type = type;
	}

	public int getIsPrimary() {
		return isPrimary;
	}

	public void setIsPrimary(int isPrimary) {
		this.isPrimary = isPrimary;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}
